<div class="header_menu">
    <div class="container">
        <div class="header-nav clearfix">
            <?php echo $this->partial('shop/layout/headerMenu'); ?>
        </div>
    </div>
</div>
</div>
<div class="container breadcrumbs">
    <a href="<?php echo $this->url('shop'); ?>"><?php echo $this->translate('首页'); ?></a>
    <span class="sep">/</span><span><?php echo $this->translate('物流轨迹'); ?></span>
</div>
<div class="container">
    <div class="uc-full-box">
        <div class="row">
            <div class="span4">
                <?php echo $this->partial('shop/partial/home/leftMenu'); ?>
            </div>
            <div class="span16">
                <div class="xm-line-box uc-box uc-favorite-box">
                    <div class="box-hd">
                        <h3 class="title">
                            <?php echo $this->translate('物流轨迹'); ?>
                            &nbsp;&nbsp;
                            <a href="javascript:;" onclick="closeWindow();" class="btn btn-default btn-a-url"><?php echo $this->translate('关闭'); ?></a>
                        </h3>
                    </div>
                    <div class="box-bd">
                        <?php if($this->expressContent) { ?>
                            <table class="table table-bordered table-hover" style="margin-top: 15px;width: 100%;">
                                <?php if (isset($this->expressContent['goods'])) { foreach ($this->expressContent['goods'] as $goodsValue) { ?>
                                <thead>
                                <tr>
                                    <th width="50%"><?php echo $this->escapeHtml($goodsValue['goodsName']); ?></th>
                                    <th width="20%"><?php echo $this->escapeHtml($goodsValue['deliveryName']); ?></th>
                                    <th width="30%"><?php echo $this->escapeHtml($goodsValue['expressNumber']); ?></th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td colspan="3">
                                        <?php echo isset($goodsValue['expressContent']) ? $goodsValue['expressContent']['content'] : $this->translate('暂无物流轨迹信息'); ?>
                                    </td>
                                </tr>
                                </tbody>
                                <?php } } else { ?>
                                    <tr>
                                        <td>
                                            <?php echo $this->expressContent['content']; ?>
                                        </td>
                                    </tr>
                                <?php } ?>
                            </table>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>